using System.Threading.Tasks;
using admin.core.Entities.App;
using System.Collections.Generic;
using System;

namespace admin.core.Repositories;

public interface IAppImageRepository : IRepository<AppImage>
{
    Task<AppImage?> GetByFileNameAsync(string fileName);
    Task<IEnumerable<AppImage>> GetByUserIdAsync(Guid userId);
    Task<IEnumerable<AppImage>> GetByTagsAsync(string tags);
    Task<bool> ExistsByFileNameAsync(string fileName);
    Task<long> AddImageAsync(AppImage image);
} 